<%--
  Created by IntelliJ IDEA.
  User: wzm
  Date: 2023/11/13
  Time: 11:22
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
	<title>Title</title>
</head>
<body>
<h4>修改页面</h4>
<form action="${pageContext.request.contextPath}/dept/update" method="post">
	<span style="color: red;">${msg}</span> <br>
	<%--需要id 又不想给别人修改  使用隐藏域 可以偷偷传值--%>
		<input type="hidden" name="id" value="${dept.id}">
	部门编号：<input type="text" name="deptNo" value="${dept.deptNo}"> <br>
	部门名称：<input type="text" name="deptName" value="${dept.deptName}"> <br>
	部门位置：<input type="text" name="deptLocation" value="${dept.deptLocation}"> <br>
	<input type="submit" value="修改">
</form>
</body>
</html>
